<%@ page language="java" pageEncoding="UTF-8"%><%@ include
	file="/WEB-INF/commons/taglibs.jsp"%>
<script type="text/javascript">$(function(){$('#key').focus();});</script>
<table>
	<tr>
		<td>
		<form id="search_small" name="searchForm"
			action="<c:url value="/search"/>" method="GET"><input id="key"
			name="key" value="${param.key}" /><input type="submit" id="go"
			value="搜索电话" /></form>
		<div id="left" class="top-border">
		<p class="title">搜索结果</p>
		<c:if test="${empty it}">没有查找到满足条件的电话</c:if> <c:forEach var="e"
			items="${it}">
			<div class="nodeData">
			<div class="nodeData_title">${e.name}&nbsp;<a href="#"
				title="分享给好友" flowId="${e.id}"
				class="ui-icon ui-icon-signal-diag flow-share">分享给好友</a>&nbsp;<a
				href="#" title="加入我的电话" flowId="${e.id}"
				class="ui-icon ui-icon-check flow-add">加入我的电话</a>&nbsp;</div>
			<div class="nodeData_content">${e.content}</div>
			<div class="nodeData_bottom"><font><c:choose>
				<c:when test="${not empty e.owner}">${e.owner}</c:when>
				<c:otherwise>anonymous</c:otherwise>
			</c:choose></font><fmt:formatDate value="${e.crtDate}" pattern="MM-dd HH:mm:ss" />&nbsp;&nbsp;</div>
			</div>
		</c:forEach></div>
		</td>
		<td>
		<div id="right"></div>
		</td>
	</tr>
</table>
